<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName()
			+ ":" + request.getServerPort() + request.getContextPath();
%>
<jsp:include page="/WEB-INF/page/auth/_header.jsp"></jsp:include>
<body>
	<jsp:include page="/WEB-INF/page/auth/header.jsp"></jsp:include>
	<div id="middle">
		<jsp:include page="/WEB-INF/page/auth/menu.jsp"></jsp:include>
		<div id="right">
		    <jsp:include page="/WEB-INF/page/auth/localinfo.jsp" />
			<div class="col-md-12" id="content_div">
					<div id="tb" style="height:auto;padding: 5px;">
						<form id="teacherSearchForm">
							学期：
							<select class="form-control1" name="termId" id="termId">
							</select>
							<a class="easyui-linkbutton l-btn l-btn-small" data-options="iconCls:'icon-search'" onclick="searchForm('teacherSearchForm')">查询</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="dgAdd('teacherManageDg')">新增</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-large-smartart',plain:true" onclick="upload()">导入</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="dgUpdate('teacherManageDg')">修改</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" onclick="dgReject('teacherManageDg')">取消</a>
							<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save('teacherManageDg')">保存</a>
						</form>
					</div>
				
				<table id="teacherManageDg" class="easyui-datagrid" style="height: 600;"></table>
				
			</div>
		</div>
	</div>
	
	<div id="uploadBox" style="display: none;height: 'auto';">
	    <div class="col-md-12 p10">
   			<form id="uploadForm" novalidate="novalidate" enctype="multipart/form-data" method="post">
				<input type="hidden" id="dictDataKey" name="dictDataKey">
				<div class="form-group col-md-12">
					<p class="text-left">
				  		<span class="btn btn-success fileinput-button" onclick="downloadTemplate('评价周期模板.xls')">
		                    <i class="fa fa-cloud"></i>
		                    <span>模版下载</span>
		                </span>
				  	</p>
				</div>
				<div class="form-group col-md-12">
					<label for="name">文件</label>								
					<input class="easyui-filebox form-control" id="files" name="files" style="width:250px;">
				</div>
			</form>
		</div>
	    <div class="text-center pd10">
	        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="uploadCommit()" style="width: 200px;">上传</a>
	    </div>
	</div>
	<jsp:include page="/WEB-INF/page/auth/_footer.jsp"/>
	<script type="text/javascript" src="<%=basePath %>/js/sys/weekTemplate.js"></script>
</body>
</html>